From: Richard M. Stallman Date: Mon, 24 May 1993 21:19:42 +0000 (+0000) Subject: (x-select-text): New arg PUSH. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96024 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0e2f4e59a54366563ae8a6824d0447297f0dcf7b;p=emacs.git (x-select-text): New arg PUSH. --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 674097fd057..6d534cbb790 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -469,8 +469,8 @@ This returns ARGS with the arguments that have been processed removed." ;;; have a window on a copy of the kill-ring. ;;; Also, set the value of X cut buffer 0, for backward compatibility ;;; with older X applications. -(defun x-select-text (text) - (x-set-cut-buffer text) +(defun x-select-text (text &optional push) + (x-set-cut-buffer text push) (x-set-selection 'CLIPBOARD text) (x-set-selection 'PRIMARY text) (setq x-last-selected-text text))